package com.zenchn.dao;

import com.zenchn.generic.GenericDao;
import com.zenchn.model.TSysAuthority;
import com.zenchn.model.TSysAuthorityExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TSysAuthorityMapper extends GenericDao<TSysAuthority, String, TSysAuthorityExample> {

    @Override
    long countByExample(TSysAuthorityExample example);

    @Override
    int deleteByExample(TSysAuthorityExample example);

    @Override
    int deleteByPrimaryKey(String authId);

    @Override
    int insert(TSysAuthority record);

    @Override
    int insertSelective(TSysAuthority record);

    @Override
    List<TSysAuthority> selectByExample(TSysAuthorityExample example);

    @Override
    TSysAuthority selectByPrimaryKey(String authId);

    @Override
    int updateByExampleSelective(@Param("record") TSysAuthority record, @Param("example") TSysAuthorityExample example);

    @Override
    int updateByExample(@Param("record") TSysAuthority record, @Param("example") TSysAuthorityExample example);

    @Override
    int updateByPrimaryKeySelective(TSysAuthority record);

    @Override
    int updateByPrimaryKey(TSysAuthority record);
}